<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.TimeClock类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_time_clock.html">TimeClock</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_time_clock-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.TimeClock类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.TimeClock 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_time_clock.png" usemap="#awtk.TimeClock_map" alt=""/>
  <map id="awtk.TimeClock_map" name="awtk.TimeClock_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a4794448f8a10f7e152d09d049ee3fb42"><td class="memItemLeft" align="right" valign="top"><a id="a4794448f8a10f7e152d09d049ee3fb42"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>TimeClock</b> (long nativeObj)</td></tr>
<tr class="separator:a4794448f8a10f7e152d09d049ee3fb42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac32205f4c02ac1e335611f72c50307ad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#ac32205f4c02ac1e335611f72c50307ad">setHour</a> (int hour)</td></tr>
<tr class="separator:ac32205f4c02ac1e335611f72c50307ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef631d6a0d805fe9c18b9868baa657e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a2ef631d6a0d805fe9c18b9868baa657e">setMinute</a> (int minute)</td></tr>
<tr class="separator:a2ef631d6a0d805fe9c18b9868baa657e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4de867fce04eb422641351935687d06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#af4de867fce04eb422641351935687d06">setSecond</a> (int second)</td></tr>
<tr class="separator:af4de867fce04eb422641351935687d06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e7937db06da2d35d5335996ae987f2a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a6e7937db06da2d35d5335996ae987f2a">setHourImage</a> (String hour)</td></tr>
<tr class="separator:a6e7937db06da2d35d5335996ae987f2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b58d0b147a9c06a45a5d42a4f77ebc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a6b58d0b147a9c06a45a5d42a4f77ebc0">setMinuteImage</a> (String minute_image)</td></tr>
<tr class="separator:a6b58d0b147a9c06a45a5d42a4f77ebc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeca1f4489e281a112b3e001cf2240f95"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#aeca1f4489e281a112b3e001cf2240f95">setSecondImage</a> (String second_image)</td></tr>
<tr class="separator:aeca1f4489e281a112b3e001cf2240f95"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0d1a70e289a0ca4bb6acdd18e86137"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a3f0d1a70e289a0ca4bb6acdd18e86137">setBgImage</a> (String bg_image)</td></tr>
<tr class="separator:a3f0d1a70e289a0ca4bb6acdd18e86137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a780e6990d00266dff4719305aadc63a7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a780e6990d00266dff4719305aadc63a7">setImage</a> (String image)</td></tr>
<tr class="separator:a780e6990d00266dff4719305aadc63a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20fa364efa7ddc6f36b509a393c978d9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a20fa364efa7ddc6f36b509a393c978d9">setHourAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a20fa364efa7ddc6f36b509a393c978d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a893b16818820834eecc14bff79d2b1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a7a893b16818820834eecc14bff79d2b1">setMinuteAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a7a893b16818820834eecc14bff79d2b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a391f0ace6894a3ee159a266262f986be"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a391f0ace6894a3ee159a266262f986be">setSecondAnchor</a> (String anchor_x, String anchor_y)</td></tr>
<tr class="separator:a391f0ace6894a3ee159a266262f986be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54478e1bc55f99b3f967b19f847d2022"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a54478e1bc55f99b3f967b19f847d2022">getHour</a> ()</td></tr>
<tr class="separator:a54478e1bc55f99b3f967b19f847d2022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f6981d34a19e0dffc61a0e70855a006"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a0f6981d34a19e0dffc61a0e70855a006">getMinute</a> ()</td></tr>
<tr class="separator:a0f6981d34a19e0dffc61a0e70855a006"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c751b6a5831eaaec336de208567a3b4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a7c751b6a5831eaaec336de208567a3b4">getSecond</a> ()</td></tr>
<tr class="separator:a7c751b6a5831eaaec336de208567a3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b7abb80c78359a694072b364504bcc4"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a5b7abb80c78359a694072b364504bcc4">getImage</a> ()</td></tr>
<tr class="separator:a5b7abb80c78359a694072b364504bcc4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4437151a77c46c523d0631a0b4687237"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a4437151a77c46c523d0631a0b4687237">getBgImage</a> ()</td></tr>
<tr class="separator:a4437151a77c46c523d0631a0b4687237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e6af48af41af772db5b1a8a3df8c687"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a2e6af48af41af772db5b1a8a3df8c687">getHourImage</a> ()</td></tr>
<tr class="separator:a2e6af48af41af772db5b1a8a3df8c687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed90b5e879564b7716c29bca0b7b5d5e"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#aed90b5e879564b7716c29bca0b7b5d5e">getMinuteImage</a> ()</td></tr>
<tr class="separator:aed90b5e879564b7716c29bca0b7b5d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8718fb4eaefa2924b01f4aa6d5fc2a3c"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a8718fb4eaefa2924b01f4aa6d5fc2a3c">getSecondImage</a> ()</td></tr>
<tr class="separator:a8718fb4eaefa2924b01f4aa6d5fc2a3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa109efc7ea1bb1c012b6f9e3ec2512e2"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#aa109efc7ea1bb1c012b6f9e3ec2512e2">getHourAnchorX</a> ()</td></tr>
<tr class="separator:aa109efc7ea1bb1c012b6f9e3ec2512e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af090228bdb06a8cc46c855d818ec0772"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#af090228bdb06a8cc46c855d818ec0772">getHourAnchorY</a> ()</td></tr>
<tr class="separator:af090228bdb06a8cc46c855d818ec0772"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f649852ce3414db2d7893ff3e9827bb"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a3f649852ce3414db2d7893ff3e9827bb">getMinuteAnchorX</a> ()</td></tr>
<tr class="separator:a3f649852ce3414db2d7893ff3e9827bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02ae767b2e0a8049f990c03e7c155641"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a02ae767b2e0a8049f990c03e7c155641">getMinuteAnchorY</a> ()</td></tr>
<tr class="separator:a02ae767b2e0a8049f990c03e7c155641"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41514d1475fd4cade8a428b7a82763cb"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a41514d1475fd4cade8a428b7a82763cb">getSecondAnchorX</a> ()</td></tr>
<tr class="separator:a41514d1475fd4cade8a428b7a82763cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ecda167847ea77953848ba88a674981"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a0ecda167847ea77953848ba88a674981">getSecondAnchorY</a> ()</td></tr>
<tr class="separator:a0ecda167847ea77953848ba88a674981"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a2fdecf8a35ccb485463b8cce3f75bfe3"><td class="memItemLeft" align="right" valign="top"><a id="a2fdecf8a35ccb485463b8cce3f75bfe3"></a>
static <a class="el" href="classawtk_1_1_time_clock.html">TimeClock</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:a2fdecf8a35ccb485463b8cce3f75bfe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d89510904e15c75efcee534862922ae"><td class="memItemLeft" align="right" valign="top">static Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a6d89510904e15c75efcee534862922ae">create</a> (Widget parent, int x, int y, int w, int h)</td></tr>
<tr class="separator:a6d89510904e15c75efcee534862922ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fea172d6d4e59dde3b8120d0d3fba2d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_time_clock.html">TimeClock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_time_clock.html#a6fea172d6d4e59dde3b8120d0d3fba2d">cast</a> (Widget widget)</td></tr>
<tr class="separator:a6fea172d6d4e59dde3b8120d0d3fba2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:a0d0edf30bb9f141f865672bb605a8e62"><td class="memItemLeft" align="right" valign="top"><a id="a0d0edf30bb9f141f865672bb605a8e62"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:a0d0edf30bb9f141f865672bb605a8e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>模拟时钟控件。</p>
<p>time_clock_t是widget的子类控件，widget_t的函数均适用于time_clock_t控件。</p>
<p>在xml中使用"time\_clock"标签创建模拟时钟控件。如：</p>
<div class="fragment"><div class="line">&lt;<span class="keywordtype">time_clock</span> <span class="keyword">x</span>=<span class="stringliteral">&quot;c&quot;</span> <span class="keyword">y</span>=<span class="stringliteral">&quot;m&quot;</span> <span class="keyword">w</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">h</span>=<span class="stringliteral">&quot;300&quot;</span> <span class="keyword">bg_image</span>=<span class="stringliteral">&quot;clock_bg&quot;</span> <span class="keyword">image</span>=<span class="stringliteral">&quot;clock&quot;</span></div><div class="line"><span class="keyword">hour_image</span>=<span class="stringliteral">&quot;clock_hour&quot;</span> <span class="keyword">minute_image</span>=<span class="stringliteral">&quot;clock_minute&quot;</span> <span class="keyword">second_image</span>=<span class="stringliteral">&quot;clock_second&quot;</span>/&gt;</div></div><!-- fragment --><p>更多用法请参考：<a href="https://github.com/zlgopen/awtk/blob/master/demos/assets/default/raw/ui/time_clock.xml">time_clock.xml</a></p>
<p>在c代码中使用函数time_clock_create创建模拟时钟控件。如：</p>
<p>完整示例请参考：<a href="https://github.com/zlgopen/awtk-c-demos/blob/master/demos/time_clock.c">time_clock demo</a></p>
<p>time_clock一般不需要设置style。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a6fea172d6d4e59dde3b8120d0d3fba2d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6fea172d6d4e59dde3b8120d0d3fba2d">&#9670;&nbsp;</a></span>cast()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_time_clock.html">TimeClock</a> awtk.TimeClock.cast </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为time_clock对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>time_clock对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>time_clock对象。 </dd></dl>

</div>
</div>
<a id="a6d89510904e15c75efcee534862922ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d89510904e15c75efcee534862922ae">&#9670;&nbsp;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Widget awtk.TimeClock.create </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>parent</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>w</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>h</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>创建time_clock对象</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>父控件 </td></tr>
    <tr><td class="paramname">x</td><td>x坐标 </td></tr>
    <tr><td class="paramname">y</td><td>y坐标 </td></tr>
    <tr><td class="paramname">w</td><td>宽度 </td></tr>
    <tr><td class="paramname">h</td><td>高度</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="a4437151a77c46c523d0631a0b4687237"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4437151a77c46c523d0631a0b4687237">&#9670;&nbsp;</a></span>getBgImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getBgImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>背景图片。 </p>

</div>
</div>
<a id="a54478e1bc55f99b3f967b19f847d2022"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54478e1bc55f99b3f967b19f847d2022">&#9670;&nbsp;</a></span>getHour()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TimeClock.getHour </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>小时。 </p>

</div>
</div>
<a id="aa109efc7ea1bb1c012b6f9e3ec2512e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa109efc7ea1bb1c012b6f9e3ec2512e2">&#9670;&nbsp;</a></span>getHourAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getHourAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="af090228bdb06a8cc46c855d818ec0772"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af090228bdb06a8cc46c855d818ec0772">&#9670;&nbsp;</a></span>getHourAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getHourAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a2e6af48af41af772db5b1a8a3df8c687"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2e6af48af41af772db5b1a8a3df8c687">&#9670;&nbsp;</a></span>getHourImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getHourImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>时针图片。 </p>

</div>
</div>
<a id="a5b7abb80c78359a694072b364504bcc4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b7abb80c78359a694072b364504bcc4">&#9670;&nbsp;</a></span>getImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>中心图片。 </p>

</div>
</div>
<a id="a0f6981d34a19e0dffc61a0e70855a006"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f6981d34a19e0dffc61a0e70855a006">&#9670;&nbsp;</a></span>getMinute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TimeClock.getMinute </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分钟。 </p>

</div>
</div>
<a id="a3f649852ce3414db2d7893ff3e9827bb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f649852ce3414db2d7893ff3e9827bb">&#9670;&nbsp;</a></span>getMinuteAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getMinuteAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a02ae767b2e0a8049f990c03e7c155641"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02ae767b2e0a8049f990c03e7c155641">&#9670;&nbsp;</a></span>getMinuteAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getMinuteAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="aed90b5e879564b7716c29bca0b7b5d5e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed90b5e879564b7716c29bca0b7b5d5e">&#9670;&nbsp;</a></span>getMinuteImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getMinuteImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>分针图片。 </p>

</div>
</div>
<a id="a7c751b6a5831eaaec336de208567a3b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c751b6a5831eaaec336de208567a3b4">&#9670;&nbsp;</a></span>getSecond()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.TimeClock.getSecond </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒。 </p>

</div>
</div>
<a id="a41514d1475fd4cade8a428b7a82763cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41514d1475fd4cade8a428b7a82763cb">&#9670;&nbsp;</a></span>getSecondAnchorX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getSecondAnchorX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片旋转锚点x坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a0ecda167847ea77953848ba88a674981"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0ecda167847ea77953848ba88a674981">&#9670;&nbsp;</a></span>getSecondAnchorY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getSecondAnchorY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片旋转锚点y坐标。(后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f) </p>

</div>
</div>
<a id="a8718fb4eaefa2924b01f4aa6d5fc2a3c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8718fb4eaefa2924b01f4aa6d5fc2a3c">&#9670;&nbsp;</a></span>getSecondImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String awtk.TimeClock.getSecondImage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>秒针图片。 </p>

</div>
</div>
<a id="a3f0d1a70e289a0ca4bb6acdd18e86137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3f0d1a70e289a0ca4bb6acdd18e86137">&#9670;&nbsp;</a></span>setBgImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setBgImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>bg_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置背景图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bg_image</td><td>背景图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ac32205f4c02ac1e335611f72c50307ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac32205f4c02ac1e335611f72c50307ad">&#9670;&nbsp;</a></span>setHour()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setHour </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>hour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hour</td><td>小时的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a20fa364efa7ddc6f36b509a393c978d9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20fa364efa7ddc6f36b509a393c978d9">&#9670;&nbsp;</a></span>setHourAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setHourAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时指针的旋转锚点。 后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a6e7937db06da2d35d5335996ae987f2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e7937db06da2d35d5335996ae987f2a">&#9670;&nbsp;</a></span>setHourImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setHourImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>hour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置小时的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">hour</td><td>小时的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a780e6990d00266dff4719305aadc63a7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a780e6990d00266dff4719305aadc63a7">&#9670;&nbsp;</a></span>setImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置中心图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">image</td><td>图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a2ef631d6a0d805fe9c18b9868baa657e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2ef631d6a0d805fe9c18b9868baa657e">&#9670;&nbsp;</a></span>setMinute()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setMinute </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>minute</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">minute</td><td>分钟的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a7a893b16818820834eecc14bff79d2b1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a893b16818820834eecc14bff79d2b1">&#9670;&nbsp;</a></span>setMinuteAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setMinuteAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟指针的旋转锚点。 后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a6b58d0b147a9c06a45a5d42a4f77ebc0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b58d0b147a9c06a45a5d42a4f77ebc0">&#9670;&nbsp;</a></span>setMinuteImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setMinuteImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>minute_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置分钟的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">minute_image</td><td>分钟的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="af4de867fce04eb422641351935687d06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af4de867fce04eb422641351935687d06">&#9670;&nbsp;</a></span>setSecond()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setSecond </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>second</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒的值。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">second</td><td>秒的值。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a391f0ace6894a3ee159a266262f986be"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a391f0ace6894a3ee159a266262f986be">&#9670;&nbsp;</a></span>setSecondAnchor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setSecondAnchor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>anchor_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒钟指针的旋转锚点。 后面加上px为像素点，不加px为相对百分比坐标0.0f到1.0f</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">anchor_x</td><td>指针的锚点坐标x。 </td></tr>
    <tr><td class="paramname">anchor_y</td><td>指针的锚点坐标y。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="aeca1f4489e281a112b3e001cf2240f95"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeca1f4489e281a112b3e001cf2240f95">&#9670;&nbsp;</a></span>setSecondImage()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.TimeClock.setSecondImage </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>second_image</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置秒的图片。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">second_image</td><td>秒的图片。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/TimeClock.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
